package com.example.designpattern.strategy;

import org.springframework.stereotype.Service;

/**
 * @author long
 * @date 2024/11/12 13:25
 */
@Service(Constants.StudyLanguage.CHINESE)
public class StudyChineseServiceImpl implements IStudyService{

    @Override
    public void doStudy(String param) {
        System.out.println("------------开始学习中文------------");
    }

    @Override
    public StudyLanguageEnum studyLanguage() {
        return StudyLanguageEnum.CHINESE;
    }

}
